package org.spa.modules.base.service.impl;

import org.spa.common.api.vo.Result;
import org.spa.modules.base.entity.SysLog;
import org.spa.modules.base.mapper.SysLogMapper;
import org.spa.modules.base.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;




/**
 * 描述: 
 * author: P0081447
 * date: 2022-03-27 22:19:51
 */
@Service
public class SysLogServiceImpl implements SysLogService {

    @Autowired
	private SysLogMapper sysLogMapper;
	
	/**
	 * 添加
	 *
	 * @param testTabel
	 * @return
	 */
	@Transactional
	public Result<?> insert(SysLog sysLog) {
		sysLogMapper.insert(sysLog);
	    return Result.resultOK("添加成功！");
	}
	
}